package FourArithmeticOperations;

/**
 * Created by dell on 2017/10/9.
 */
public class paixu {
    public static void main (String[] args){
       Comparable [] comparables={3,666,12,34,54,84,91,110};
       Sorting sorting = new Sorting();
       sorting.selectionSort(comparables);
        sorting.bubbleSort(comparables);
        sorting.insertionSort(comparables);
        sorting.quickSort(comparables,0,comparables.length-1);
        sorting.mergeSort(comparables,0,comparables.length-1);
       for (Comparable l:comparables)
           System.out.println(l);
    }
}

